export const routes = [
{
path: '/',
name: 'home',
component: () => import('@/views/Home.vue')
},
{
path: '/about',
name: 'about',
component: () => import('@/views/About.vue')
},
{
path: '/course',
name: 'course',
component: () => import('@/views/Course.vue')
},
{
path: '/course/detail/:id',
name: 'courseDetail',
component: () => import('@/views/CourseDetail.vue')
}
];
